import Vue from 'vue'
import {
    Row,
    Col,
    Tabs,
    TabPane,
    Button,
    Loading,
    Message,
    Slider,
    DatePicker,
    Pagination,
    Timeline,
    TimelineItem,
    Select,
    Option,
    Input,
    Image,
    RadioGroup,
    Radio,
    Progress,
    Form,
    FormItem,
    Autocomplete,
    Dialog,
} from 'element-ui'
const Element = {
    install: function (Vue) {
        Vue.use(Row);
        Vue.use(Col);
        Vue.use(Tabs);
        Vue.use(TabPane);
        Vue.use(Button);
        Vue.use(Loading);
        Vue.component(Message);
        Vue.use(DatePicker);
        Vue.use(Slider);
        Vue.use(Pagination);
        Vue.use(Timeline);
        Vue.use(TimelineItem);
        Vue.use(Select);
        Vue.use(Option);
        Vue.use(Input);
        Vue.use(Image);
        Vue.use(RadioGroup);
        Vue.use(Radio);
        Vue.use(Progress);
        Vue.use(Form);
        Vue.use(FormItem);
        Vue.use(Autocomplete);
        Vue.use(Dialog);

    }
}
Vue.prototype.$ELEmsg = Message
export default Element;
